<!DOCTYPE html>
<html>
<head>
  <title></title>

  <script type="text/javascript" src="javascripts/lib/pixi/pixi.js"></script>

</head>
<body>

<script type="text/javascript">
  var app = new PIXI.Application(800, 450, {
    backgroundColor: 0x000000
  });
  document.body.appendChild(app.view);

  var stage = app.stage;
  var screen = app.screen;
  var ticker = app.ticker;

  // 设置缩放模式
  // NEAREST 像素风格
  // LINEAR 模糊风格
  PIXI.settings.SCALE_MODES = PIXI.SCALE_MODES.LINEAR;

</script>

</body>
</html>